<div id="container">
    <h1>Top News</h1>
    <?php 
    
    
    
    if(isset($this->hot_news_list)){
        foreach($this->hot_news_list as $item){
            echo "<div class='left-hot'>";
                echo "<image  src='".$item['thumbnail_url']."'>";
            echo "</div>";
            echo "<div class='right-hot'>";
                echo "<h2>". (($this->lang == "vn") ? $item['title'] : $item['title_en']) ."</h2>";
                echo "<p>". (($this->lang == "vn") ? $item['des'] : $item['des_en']) ."</p>";
                echo "<a class='view-more' href='".$this->baseUrl."/".$this->module."/news/detail/id/".$item['id']."'>View more</a>";
            echo "</div>";
            echo "<div class='clear'></div>";
        }
    }else{
        echo "a";
    }
    ?>
</div>
<div id="container">
    <h1>News</h1>
    <div id="list-news">
        <?php 
            if(isset($this->news)){
                foreach ($this->news as $item){
                    echo "<div class='item-news'>";
                    echo "<div class='left-item-news'>";
                        echo "<image src='".$item['thumbnail_url']."'>";
                    echo "</div>";
                    echo "<div class='right-item-news'>";
                        echo "<h3>". (($this->lang == "vn") ? $item['title'] : $item['title_en']) ."</h3>";
                        echo "<p>". (($this->lang == "vn") ? $item['des'] : $item['des_en']) ."</p>";
                        echo "<a href='".$this->baseUrl."/".$this->module."/news/detail/id/".$item['id']."' class='view-more'>View more>></a>";
                    echo "</div>";
                    echo "<div class='clear'></div>";
                    echo "</div>";
                }
            }
            
        ?>
        
    </div>
</div>
<div id="info">
    <div id="FAQ"></div>
    <div id="survey"></div>
    
</div>
<div id="share"></div>